<?php
session_start();

ini_set('display_errors',1);
ini_set('include_path', ini_get('include_path'));


require_once '../../../serverResources/includes/db/ConnDBUser.php';
require_once '../../../serverResources/includes/classes/QReplyPreference.php';
include_once '../others/refreshSessionTime.php';
$pref=new QReplyPreference($_POST['preference'], $_POST['replyID'], $_SESSION['userID']);
$result=$pref->storePreference();
unset($pref);

echo $result;

